package com.qiaofang.applet.service.member.domain;

import com.qiaofang.applet.common.base.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @Author: youqing.yang
 * @Create: 2021/06/22 10:12
 * @Description:
 **/
@Data
@Document(collection = "member_wx_follow_users")
@ApiModel("微信公众号关注表")
@NoArgsConstructor
public class WxFollowUsers extends BaseDomain {

    @ApiModelProperty("是否订阅")
    private Integer subscribe;

    @ApiModelProperty("openid对当前公众号唯一")
    private String openid;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("性别 值为1时是男性，值为2时是女性，值为0时是未知")
    private Integer sex;

    @ApiModelProperty("城市")
    private String city;

    @ApiModelProperty("国家")
    private String country;

    @ApiModelProperty("省份")
    private String province;

    @ApiModelProperty("语言")
    private String language;

    @ApiModelProperty("头像")
    private String headimgurl;

    @ApiModelProperty("关注时间，为时间戳。如果用户曾多次关注，则取最后关注时间")
    private Long subscribe_time;

    @ApiModelProperty("开放平台下用户唯一id")
    private String unionid;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("分组ID")
    private Integer groupid;

    @ApiModelProperty("标签ID列表")
    private Integer[] tagid_list;

    @ApiModelProperty("关注的渠道来源")
    private String subscribe_scene;

}
